package com.p2p.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.model.entity.Bidrequest;
import com.p2p.model.entity.Bidrequestaudithistory;
import com.p2p.system.mapper.BidrequestaudithistoryMapper;
import com.p2p.system.service.BidrequestaudithistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 借款审核历史表 服务实现类
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-13
 */
@Service
public class BidrequestaudithistoryServiceImpl extends ServiceImpl<BidrequestaudithistoryMapper, Bidrequestaudithistory> implements BidrequestaudithistoryService {


    @Override
    public IPage<Bidrequestaudithistory> selectHisById(Page<Bidrequest> pageParam, Long id) {
        return this.baseMapper.selectHisByUserId(pageParam,id);
    }
}
